app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
↳ QTRS
↳ DependencyPairsProof
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs)))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(if, app2(p, x))
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(if, app2(p, x))
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(cons, x), app2(app2(takeWhile, p), xs))
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs)))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(if, app2(p, x))
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(if, app2(p, x))
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(cons, x), app2(app2(takeWhile, p), xs))
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(p, x)
Used ordering: Polynomial interpretation [21]:
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
POL(APP2(x1, x2)) = 2·x1
POL(app2(x1, x2)) = 2 + 2·x2
POL(cons) = 0
POL(dropWhile) = 0
POL(takeWhile) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(takeWhile, p), xs)
POL(APP2(x1, x2)) = 2·x2
POL(app2(x1, x2)) = 2·x1 + 2·x2
POL(cons) = 2
POL(takeWhile) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> APP2(app2(dropWhile, p), xs)
POL(APP2(x1, x2)) = 2·x2
POL(app2(x1, x2)) = 2·x1 + 2·x2
POL(cons) = 2
POL(dropWhile) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
app2(app2(app2(if, true), x), y) -> x
app2(app2(app2(if, true), x), y) -> y
app2(app2(takeWhile, p), nil) -> nil
app2(app2(takeWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(cons, x), app2(app2(takeWhile, p), xs))), nil)
app2(app2(dropWhile, p), nil) -> nil
app2(app2(dropWhile, p), app2(app2(cons, x), xs)) -> app2(app2(app2(if, app2(p, x)), app2(app2(dropWhile, p), xs)), app2(app2(cons, x), xs))